Overload | Description |
---|---|
Using<TProperty>(Action<IAssertionContext<TProperty>>) | Overrides the comparison of subject and expectation to use provided action when the predicate is met. |
Using(IMemberSelectionRule) | Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. |
Using(IMemberMatchingRule) | Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. |
Using(IOrderingRule) | Adds an ordering rule to the ones already added by default, and which is evaluated after all existing rules. |
Using(IEquivalencyStep) | Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps |
Using<T,TEqualityComparer>() | Ensures the equivalency comparison will create and use an instance of TEqualityComparer that implements IEqualityComparer, any time when a property is of type T. |
Using<T>(IEqualityComparer<T>) | Ensures the equivalency comparison will use the specified implementation of IEqualityComparer any time when a property is of type T. |
Using(IEqualityComparer<String>) | Ensures the equivalency comparison will use the specified implementation of IEqualityComparer any time when a property is a string. |